#include"PageLibPreprocessor.h"
#include<iostream>

using std::cout;

int main()
{
    string path="/home/sakura/all_file/search_engine/conf/config.json";
    Config conf(Configuration::GetInstance(path));
    cout<<" config set success\n";
    SplitToolJieba split(Configuration::GetInstance());
    cout<<" jieba make success\n";

    PageLibPreprocessor page(&split);
    cout<<" pagelib make success\n";
    page.cutRedundantPage();
    cout<<" cut make success\n";
    page.buildinvertindexMap();
    cout<<" build map success\n";
}
